home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
CADAR
/
Symbols
/
Chords
/
get-n-chord-part
< prev
next >
Wrap
Lisp/Scheme
|
1998-10-22
|
551b
|
24 lines
get-n-chord-part
chords part &optional (from 'top)
selects the n-part of chords
that is when n is 1 and from is 'top
selects the highest note from each chord.
when n is 2 the second highest . . .
when from is 'bottom selects the lowest
second lowest . . .
works only in a chromatic context.
(setq chords '(abcd efgh ijkl mno pq r =))
(get-n-chord-part chords 1 'top)
->(d h l o q r =)
(get-n-chord-part chords 2 'top)
->(c g k n p r =)
(get-n-chord-part chords 1 'bottom)
->(a e i m p r =)
(get-n-chord-part chords 2 'bottom)
->(b f j n q r =)